﻿using Common.BaseLibrary.Utils;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DepartmentWork.Platform.Commons
{
    public class WeatherManager
    {
        /// <summary>
        /// 线程锁
        /// </summary>
        private static object lockObj = new object();
        /// <summary>
        /// 天气工厂
        /// </summary>
        private static WeatherManager instance;

        public static WeatherManager Instance
        {
            get
            {
                if (instance == null)
                {
                    lock (lockObj)
                    {
                        if (instance == null)
                        {
                            instance = new WeatherManager();
                        }
                    }
                }
                return instance;
            }
        }


    }
}